
********************************************************************************
****** The Effects of WWII on Economic and Health Outcomes across Europe *******
********************************************************************************
* Authors: Iris Kesternich, Bettina Siflinger, James P. Smith, Joachim Winter
* Review of Economics and Statistics, 2014
********************************************************************************
* DOFILE: APPENDIX
********************************************************************************


clear
clear matrix
clear mata
set more off


*** define the path to the directory containing the data files here 
*** or leave "." if the do files are in the current directory 

global datapath "."

*** define the path to the directory to which figures are saved here 
*** or leave "." if they should be saved to the current directory 

global graphpath  "."


use "$datapath\final\WWII_final.dta", clear





********************************************************************************
*** TABLE A2: Descriptive Statistics
********************************************************************************



*** BACKGROUND INFORMATION 

* year of birth
sum yrbirth3 if nativeborn == 1 & country ~= 15, d
bysort war: sum yrbirth3 if war ~= . & nativeborn == 1 & country ~= 15, d
				
				
* gender
sum male if nativeborn == 1 & country ~= 15, d
bysort war: sum male if war ~= . & nativeborn == 1 & country ~= 15, d				


* socioeconomic status during childhood
tab ses if nativeborn == 1 & country ~= 15, m				
sum ses if nativeborn == 1 & country ~= 15, d
bysort war: sum ses if war ~= . & nativeborn == 1 & country ~= 15, d
				

				
*** OUTCOMES 

* depression indicator
tab depress, m
tab1 depress if nativeborn == 1 & country ~= 15, m				
sum depress if nativeborn == 1 & country ~= 15, d
bysort war: sum depress if war ~= . & nativeborn == 1 & country ~= 15, d


* adult diabetes
tab adult_diabet if nativeborn == 1 & country ~= 15, m				
sum adult_diabet if nativeborn == 1 & country ~= 15, d
bysort war: sum adult_diabet if war ~= . & nativeborn == 1 & country ~= 15, d
	

* ever been married
tab ever_marr if nativeborn == 1 & country ~= 15, m				
sum ever_marr if nativeborn == 1 & country ~= 15, d
bysort war: sum ever_marr if war ~= . & nativeborn == 1 & country ~= 15, d


* adult heart diseases
tab adult_heart if nativeborn == 1 & country ~= 15, m				
sum adult_heart if nativeborn == 1 & country ~= 15, d
bysort war: sum adult_heart if war ~= . & nativeborn == 1 & country ~= 15, d


* height
tab height if nativeborn == 1 & country ~= 15, m				
sum height if nativeborn == 1 & country ~= 15, d
bysort war: sum height if war ~= . & nativeborn == 1 & country ~= 15, d


* life satisfaction
tab life_sat if nativeborn == 1 & country ~= 15, m				
sum life_sat if nativeborn == 1 & country ~= 15, d
bysort war: sum life_sat if war ~= . & nativeborn == 1 & country ~= 15, d


* log HH networth
tab l_hhnetworth if nativeborn == 1 & country ~= 15, m				
sum l_hhnetworth if nativeborn == 1 & country ~= 15, d
bysort war: sum l_hhnetworth if war ~= . & nativeborn == 1 & country ~= 15, d


* health
tab health if nativeborn == 1 & country ~= 15, m				
sum health if nativeborn == 1 & country ~= 15, d
bysort war: sum health if war ~= . & nativeborn == 1 & country ~= 15, d


* years of education
tab schooling if nativeborn == 1 & country ~= 15, m				
sum schooling if nativeborn == 1 & country ~= 15, d
bysort war: sum schooling if war ~= . & nativeborn == 1 & country ~= 15, d


* differences in schooling
tab school_diff if nativeborn == 1 & country ~= 15, m				
sum school_diff if nativeborn == 1 & country ~= 15, d
bysort war: sum school_diff if war ~= . & nativeborn == 1 & country ~= 15, d




*** CHANNELS 

* father absent
tab father_absent if nativeborn == 1 & country ~= 15, m				
sum father_absent if nativeborn == 1 & country ~= 15, d
bysort war: sum father_absent if war ~= . & nativeborn == 1 & country ~= 15, d


* dispossession
tab dispos if nativeborn == 1 & country ~= 15, m				
sum dispos if nativeborn == 1 & country ~= 15, d
bysort war: sum dispos if war ~= . & nativeborn == 1 & country ~= 15, d


* hunger
tab hunger if nativeborn == 1 & country ~= 15, m				
sum hunger if nativeborn == 1 & country ~= 15, d
bysort war: sum hunger if war ~= . & nativeborn == 1 & country ~= 15, d


* persecution
tab persec if nativeborn == 1 & country ~= 15, m				
sum persec if nativeborn == 1 & country ~= 15, d
bysort war: sum persec if war ~= . & nativeborn == 1 & country ~= 15, d



* childhood immunization
tab child_imm if nativeborn == 1 & country ~= 15, m				
sum child_imm if nativeborn == 1 & country ~= 15, d
bysort war: sum child_imm if war ~= . & nativeborn == 1 & country ~= 15, d
